package com.bugsnag.ohos;

/**
 * Set the endpoints to send data to.By default we'll send error reports to
 * https://notify.bugsnag.com, and sessions to https://sessions.bugsnag.com, but you can
 * override this if you are using Bugsnag Enterprise to point to your own Bugsnag endpoints.
 *
 * @since 2021-07-02
 */
public class EndpointConfiguration {
    /**
     * Configures the endpoint to which events should be sent
     */
    private String notify = "https://notify.bugsnag.com";

    /**
     * Configures the endpoint to which sessions should be sent
     */
    private String sessions = "https://sessions.bugsnag.com";

    /**
     * constructor
     */
    public EndpointConfiguration() {
    }

    /**
     * constructor
     *
     * @param notify
     * @param sessions
     */
    public EndpointConfiguration(String notify, String sessions) {
        this.notify = notify;
        this.sessions = sessions;
    }

    public String getNotify() {
        return notify;
    }

    public void setNotify(String notify) {
        this.notify = notify;
    }

    public String getSessions() {
        return sessions;
    }

    public void setSessions(String sessions) {
        this.sessions = sessions;
    }
}
